<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
{% from 'spec_form.html' import spec_form %}
<html>
<head>
  <title>{{ spec.name }} spec -- Edit</title>
  <style>
    .flash-error {
      color: #770000
    }
  </style>
</head>
<body>
{% for category, msg in get_flashed_messages(with_categories=true) %}
  <p class="flash-{{ category }}">{{ msg }}</p>
{% endfor %}

{{ spec_form(spec) }}
</body>
</html>